package cn.hackcloud.designpattern.visitor;

public class Client {
	public static void main(String[] args) {
		ObjectStructure objectStructure = new ObjectStructure();
		objectStructure.attach(new Man());
		objectStructure.attach(new Woman());

		Success success = new Success();
		Fail fail = new Fail();
		objectStructure.display(success);
		objectStructure.display(fail);

	}
}
